package com.ruoyi.data.domain.bo.getData;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import com.ruoyi.common.core.validate.EditGroupOne;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * 添加数据对象
 *
 * @author ruoyi
 * @date 2023-10-26
 */

@Data
@NoArgsConstructor
public class DelDataListBo {

    private static final long serialVersionUID = 1L;



    @NotBlank(message = "token不能为空", groups = {  EditGroup.class })
    private String token;

    @NotEmpty(message = "主键不能为空", groups = { EditGroup.class })
    private String[] dataIds;

    @NotEmpty(message = "分类名称不能为空", groups = { EditGroupOne.class })
    private String classificationName;
}
